package com.dc.refactoring._2_在对象之间搬移特性._5_HideDelegate.oldObject;

/**
 * Description: 隐藏“委托关系”_ 部门类
 * @author: gdc
 * @date: 2020/11/15
 * @version 1.0
 */
public class Department {
    private String chargeCode;
    /**
     * 部门经理
     */
    private Person manage;

    public Department(Person person) {
        this.manage = person;
    }

    public Person getManage() {
        return manage;
    }
}
